#include "WPILib.h"
#include "MatedVictor.h"

MatedVictor::MatedVictor(Victor* left, Victor* right)
{
	this->left = left;
	this->right = right;
}

void MatedVictor::Set(float speed, UINT8 syncGroup)
{
	left->Set(speed, syncGroup);
	right->Set(speed, syncGroup);
}

float MatedVictor::Get()
{
	return left->Get();
}

void MatedVictor::Disable()
{
	left->Disable();
	right->Disable();
}

void MatedVictor::PIDWrite(float output)
{
	Set(output);
}
